package com.jt.www.model.woxuebao.toubao;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: cjw
 * @Description: 上下文方案对象
 * @Date: 20:21 2018/6/6
 */
public class ContextPlan implements Serializable {

    /**
     * 方案编码
     */
    private String code = "";

    /**
     * 方案名称
     */
    private String name = "";

    /**
     * 方案份数
     */
    private Integer quantity = 0;

    /**
     * 保费
     */
    private BigDecimal prem = BigDecimal.ZERO;

    /**
     * 优惠保费
     */
    private BigDecimal reducePrem = BigDecimal.ZERO;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getPrem() {
        return prem;
    }

    public void setPrem(BigDecimal prem) {
        this.prem = prem;
    }

    public BigDecimal getReducePrem() {
        return reducePrem;
    }

    public void setReducePrem(BigDecimal reducePrem) {
        this.reducePrem = reducePrem;
    }

    @Override
    public String toString() {
        return "ContextPlan{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", quantity=" + quantity +
                ", prem=" + prem +
                ", reducePrem=" + reducePrem +
                '}';
    }
}
